package Test.Exam;

import java.security.Signature;
import java.util.Collection;

/**
 * @ClassName Test
 * @since: 2024/4/5 20:41
 * @auth: kirito
 * @description:
 **/
public   class Test {
    public static void main(String[] args) {
        Integer i = new Integer(42);
        Long h = new Long(42);
        Double d = new Double(42.0);
        Double dd = new Double(42);
//        System.out.println(i==h);
        System.out.println(d==dd);
        System.out.println(i.equals(h));
        System.out.println(d.equals(dd));
    }
}

